package com.bootdo.market.service.impl;

import com.bootdo.market.dao.PlatformWhitelistDicDao;
import com.bootdo.market.domain.PlatformWhitelistDicDO;
import com.bootdo.market.service.PlatformWhitelistDicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class PlatformWhitelistDicServiceImpl implements PlatformWhitelistDicService {
	@Autowired
	private PlatformWhitelistDicDao platformWhitelistDicDao;
	
	@Override
	public PlatformWhitelistDicDO get(Integer id){
		return platformWhitelistDicDao.get(id);
	}
	
	@Override
	public List<PlatformWhitelistDicDO> list(Map<String, Object> map){
		return platformWhitelistDicDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return platformWhitelistDicDao.count(map);
	}
	
	@Override
	public int save(PlatformWhitelistDicDO platformWhitelistDic){
		return platformWhitelistDicDao.save(platformWhitelistDic);
	}
	
	@Override
	public int update(PlatformWhitelistDicDO platformWhitelistDic){
		return platformWhitelistDicDao.update(platformWhitelistDic);
	}
	
	@Override
	public int remove(Integer id){
		return platformWhitelistDicDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return platformWhitelistDicDao.batchRemove(ids);
	}
	
}
